// /bsin-ui-digital-assets-management
const routes = [
  {
    // path不允许为空
    path: '/*',
    // 严格路由匹配模式
    exact: true,
    component: '../layouts/index',
    routes: [
      // 基座中访问子应用提示
      {
        path: '/noAuth',
        component: '../pages/NoAuth/index',
      },
      {
        path: '/',
        redirect: '/DAOcenter',
      },
      // DAO审批
      {
        name: 'DAO管理',
        path: '/approval',
        component: '../pages/DAOApproval/index',
      },
      // 首页报表
      {
        name: '首页',
        path: '/circulation-overview',
        component: '../pages/digitalIntegral/Overview/HomeAll',
      },
      // 数字积分 digitalIntegral
      {
        name: '发行',
        path: '/issue',
        component: '../pages/digitalIntegral/Issue/index',
      },
      // 合约管理 contractManagement
      {
        name: '合约协议',
        path: '/contract-protocol',
        component: '../pages/contractManagement/ContractProtocol/index',
      },
      {
        name: '合约实例',
        path: '/contract',
        component: '../pages/contractManagement/Contract/index',
      },
      // NFT管理
      {
        name: '身份铸造',
        path: '/head-casting',
        component: '../pages/positionManagement/HeadCasting/index',
      },
      {
        name: '身份总览',
        path: '/head-overview',
        component: '../pages/positionManagement/HeadOverview/index',
      },
      {
        name: '主题铸造',
        path: '/theme-casting',
        component: '../pages/nftManagement/ThemeCasting/index',
      },
      {
        name: '主题NFT',
        path: '/theme-nft',
        component: '../pages/nftManagement/ThemeNFT/index',
      },
      {
        name: '碎片NFT',
        path: '/theme-nfts',
        component: '../pages/nftManagement/ThemeNFTs/index',
      },
      {
        name: '合成记录',
        path: '/synthetic-record',
        component: '../pages/nftManagement/SyntheticRecord/index',
      },
      {
        name: 'NFT发行',
        path: '/nft-issue',
        component: '../pages/nftManagement/NftIssue/index',
      },
      {
        name: 'NFT领取',
        path: '/nft-obtain',
        component: '../pages/nftManagement/NftObtain/index',
      },
      {
        name: 'NFT铸造',
        path: '/nft-mint',
        component: '../pages/nftManagement/NftMint/index',
      },
      {
        name: 'NFT转赠',
        path: '/nft-transfer',
        component: '../pages/nftManagement/NftTransfer/index',
      },
      // 成员管理
      {
        name: '成员管理',
        path: '/member-management',
        component: '../pages/MemberManagement/index',
      },
      {
        name: '身份元数据',
        path: '/portrait-ipfs',
        component: '../pages/IPFSManagement/PortraitIPFS/index',
      },
      {
        name: '主题元数据',
        path: '/theme-ipfs',
        component: '../pages/IPFSManagement/ThemeIPFS/index',
      },
      {
        name: '元数据',
        path: '/metadata',
        component: '../pages/IPFSManagement/Metadata/index',
      },
      {
        name: '元数据集',
        path: '/metadata-collection',
        component: '../pages/IPFSManagement/MetadataCollection/index',
      },
      {
        name: '元数据模板',
        path: '/metadata-template',
        component: '../pages/IPFSManagement/MetadataTemplate/index',
      },
      // 账号管理
      {
        name: '账户信息',
        path: '/account-info',
        component: '../pages/accountManagement/AccountInfo/index',
      },
      {
        name: '账号流水',
        path: '/account-running-water',
        component: '../pages/accountManagement/AccountRunningWater/index',
      },
      // 权益管理
      {
        name: '权益管理',
        path: '/equity-management',
        component: '../pages/EquityManagement/index',
      },
      // 订单管理
      {
        name: '转赠订单',
        path: '/giving-order',
        component: '../pages/orderManagement/GivingOrder/index',
      },
      {
        name: '购买订单',
        path: '/buy-order',
        component: '../pages/orderManagement/BuyOrder/index',
      },
      {
        name: '出售订单',
        path: '/sell-order',
        component: '../pages/orderManagement/SellOrder/index',
      },
      {
        name: '合成订单',
        path: '/synthetic-order',
        component: '../pages/orderManagement/SyntheticOrder/index',
      },
      {
        name: '充值订单',
        path: '/recharge-order',
        component: '../pages/orderManagement/RechargeOrder/index',
      },
      // dao
      {
        name: 'DAO中心',
        path: '/DAOcenter',
        component: '../pages/DaoCenter/index',
      },
      // 投票
      {
        name: '评选管理',
        path: '/voting-management',
        component: '../pages/daoGovern/VotingManagement/index',
      },
      {
        name: '选举管理',
        path: '/election-management',
        component: '../pages/daoGovern/VotingManagement/index',
      },
      // 提案
      {
        name: '提案管理',
        path: '/motion-management',
        component: '../pages/daoGovern/MotionManagement/index',
      },
      // 贡献
      {
        name: '贡献管理',
        path: '/contribution-management',
        component: '../pages/ContributionManagement/index',
      },
      // 贡献纵览
      {
        name: '贡献纵览',
        path: '/contribution-overview',
        component: '../pages/ContributionManagement/ContributionOverview/index',
      },
      // 任务管理
      {
        name: '任务管理',
        path: '/task-management',
        component: '../pages/ContributionManagement/TaskManagement/index',
      },
      // 原力规则
      {
        name: '原力规则',
        path: '/yuanli-rule',
        component: '../pages/ContributionManagement/YuanliRule/index',
      },
      //活动管理
      {
        name: '活动管理',
        path: '/activity-management',
        component: '../pages/ActivityManagement/index',
      },
      // 空投
      {
        name: '空投管理',
        path: '/drop-management',
        component: '../pages/DropManagement/index',
      },
      // 空投管理deliverManagement
      {
        name: '空投规则',
        path: '/airdrop-ruler',
        component: '../pages/airdropManagement/AirdropRuler/index',
      },
      {
        name: '空投记录',
        path: '/airdrop-record',
        component: '../pages/airdropManagement/AirdropRecord/index',
      },
      // dao管理
      {
        name: 'dao工具',
        path: '/dao-tool',
        // component: '../pages/daoTool/index',
        component: '../pages/Contribution/board',
      },
      // 汇率管理
      {
        name: '汇率管理',
        path: '/exchange-rate-management',
        component: '../pages/exchangeRateManagement/index',
      },
      // 企业管理
      {
        name: '企业信息',
        path: '/enterpriseInfo',
        component: '../pages/enterpriseManagement/EnterpriseInfo/index',
      },
      // api费用配置
      {
        name: 'api费用配置',
        path: '/apiFeeConfig',
        component: '../pages/enterpriseManagement/ApiTxFeeConfig/index',
      },
      { name: '404', path: '/*', component: '../pages/404', exact: false },
    ],
  },
];
export default routes;
